
package com.scalar.chiptrack.operations.packingslip.forms;

import com.scalar.chiptrack.ChipTrackActionForm;


// author Vasu
// date 9th May 2003
public class SendMailForm extends ChipTrackActionForm {

    public SendMailForm () {
    }
    
    /*public SendMailForm (     String fromUser,
                              String toUser, 
                              String message, 
                              String subject ) {

        m_fromUser = fromUser;
        m_toUser = toUser;
        m_message = message;
        m_subject = subject;
        
    }*/
    
    
    /**
     * from user property
     */
    private String m_fromUser = null;
    
    public String getFromUser() {
        return m_fromUser;
    }
    
    public void setFromUser (String fromUser) {
        m_fromUser = fromUser;
    }
    
    /**
     * to user Property
     */
    private String[] m_toUsers = null;
    
    public String[] getToUsers() 
    {
        return m_toUsers;
    }
    public void setToUsers( String[] toUsers ) 
    {
        m_toUsers = toUsers;
        
       /* if (toUsers != null) 
        {
            for( int i=0; i<toUsers.length; i++) 
            {
                System.out.println ("to [" + i + "] =  " + toUsers[i]);
            }
        }*/
    }

    /**
     * to user Property
     */
    private String[] m_ccUsers = null;
    
    public String[] getCcUsers() 
    {
        return m_ccUsers;
    }
    public void setCcUsers( String[] ccUsers ) 
    {
        m_ccUsers = ccUsers;
        
       /* if (ccUsers != null) 
        {
            for( int i=0; i<ccUsers.length; i++) 
            {
                System.out.println ("cc [" + i + "] =  " + ccUsers[i]);
            }
        }*/
    }

    
    /**
     * bcc user Property
     */
    private String[] m_bccUsers = null;
    
    public String[] getBccUsers() 
    {
        return m_bccUsers;
    }
    public void setBccUsers( String[] bccUsers ) 
    {
        m_bccUsers = bccUsers;
        
       /* if (bccUsers != null) 
        {
            for( int i=0; i<bccUsers.length; i++) 
            {
                System.out.println ("bcc [" + i + "] =  " + bccUsers[i]);
            }
        } */
    }
    
    
    /**
     * Message Property
     */ 
    private String m_message = null;
    
    public String getMessage() {
        return m_message;
    }
    public void setMessage (String message) {
        m_message = message;
    }
    
    /**
     * Subject property
     */
    private String m_subject = null;
    
    public String getSubject() {
        return m_subject;
    }
    public void setSubject (String subject) {
        m_subject = subject;
    }
    
    /**
     * Send Commercial Invoice??
     */
    private String m_sendCommercialInvoice = null;
    
    public String getSendCommercialInvoice() 
    {
        return m_sendCommercialInvoice;
    }
    public void setSendCommercialInvoice( String flag )
    {
        m_sendCommercialInvoice = flag;
    }

    // added by hareesh on 3rd September 2003
    // -- START --
    /**
     * Store Packing Slip status
     */
    private String m_packingSlipStatus = null;

    public String getPackingSlipStatus(){
        return m_packingSlipStatus;
    }

    public void setPackingSlipStatus(String status){
         m_packingSlipStatus = status;
    }
    // -- END --

    // added by hareesh on 3rd September 2003
    // -- START --
    /**
     * Store EMail Attachments MIME Type
     */
    private String m_attachMIMEType = null;

    public String getAttachMIMEType()
    {
        return m_attachMIMEType;
    }
    public void setAttachMIMEType( String flag )
    {
        m_attachMIMEType = flag;
    }

    // -- END --

    private String recipientType = null;

    public String getRecipientType() {
        return recipientType;
    }

    public void setRecipientType(String recipientType) {
        this.recipientType = recipientType;
    }

    private boolean dropShippment = false;

    public boolean isDropShippment() {
        return dropShippment;
    }

    public void setDropShippment(boolean dropShippment) {
        this.dropShippment = dropShippment;
    }


}